.class Lcom/estrongs/android/view/CompressGridViewWrapper$u;
.super Ljava/lang/Thread;
.source "CompressGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/view/CompressGridViewWrapper;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "u"
.end annotation


# instance fields
.field a:Z

.field final synthetic b:Lcom/estrongs/android/view/CompressGridViewWrapper;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/CompressGridViewWrapper;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    const/4 p1, 0x0

    .line 2
    iput-boolean p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a:Z

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    const-string v0, "NOT_SUPPORTED_ENC_ALG"

    .line 1
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v2, v2, Lcom/estrongs/android/view/CompressGridViewWrapper;->W0:Ljava/lang/String;

    const/4 v3, 0x1

    invoke-static {p1, v2, v3, p2}, Les/z70;->a(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Les/e80;

    move-result-object p2

    invoke-static {v1, p2}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Les/e80;)Les/e80;

    .line 2
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {p2}, Lcom/estrongs/android/view/CompressGridViewWrapper;->d(Lcom/estrongs/android/view/CompressGridViewWrapper;)V

    .line 3
    iget-boolean p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz p2, :cond_0

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    :goto_0
    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void

    .line 5
    :cond_0
    :try_start_1
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p2, p2, Lcom/estrongs/android/view/CompressGridViewWrapper;->X0:Ljava/lang/String;

    if-eqz p2, :cond_1

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {p2}, Lcom/estrongs/android/view/CompressGridViewWrapper;->c(Lcom/estrongs/android/view/CompressGridViewWrapper;)Les/e80;

    move-result-object p2

    iget-object v1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v1, v1, Lcom/estrongs/android/view/CompressGridViewWrapper;->X0:Ljava/lang/String;

    invoke-virtual {p2, v1}, Les/e80;->e(Ljava/lang/String;)V

    .line 7
    :cond_1
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {p2}, Lcom/estrongs/android/view/CompressGridViewWrapper;->c(Lcom/estrongs/android/view/CompressGridViewWrapper;)Les/e80;

    move-result-object p2

    invoke-virtual {p2}, Les/e80;->j()V

    .line 8
    iget-boolean p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a:Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    if-eqz p2, :cond_2

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto :goto_0

    .line 10
    :cond_2
    :try_start_2
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->c(Lcom/estrongs/android/view/CompressGridViewWrapper;)Les/e80;

    move-result-object v1

    invoke-virtual {v1}, Les/e80;->f()Lcom/estrongs/io/model/ArchiveEntryFile;

    move-result-object v1

    invoke-static {p2, v1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Ljava/io/File;)Ljava/io/File;

    .line 11
    iget-boolean p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a:Z
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    if-eqz p2, :cond_3

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto :goto_0

    .line 13
    :cond_3
    :try_start_3
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {p2}, Lcom/estrongs/android/view/CompressGridViewWrapper;->e(Lcom/estrongs/android/view/CompressGridViewWrapper;)Landroid/os/Handler;

    move-result-object p2

    const/4 v1, 0x0

    invoke-virtual {p2, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto/16 :goto_2

    :catchall_0
    move-exception p2

    :try_start_4
    const-string v1, "ddd"

    .line 15
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Failed to open the archive file: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2, p2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 16
    iget-boolean v1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a:Z
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    if-eqz v1, :cond_4

    .line 17
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto/16 :goto_0

    .line 18
    :cond_4
    :try_start_5
    invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object p2

    if-eqz p2, :cond_d

    .line 19
    invoke-virtual {p2, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    const v2, 0x7f1106b9

    const/4 v3, 0x0

    if-eqz v1, :cond_6

    .line 20
    sget-object v1, Lcom/estrongs/io/archive/sevenzip/b;->b:Ljava/lang/String;

    invoke-static {v3, v1}, Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/Runnable;Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 21
    sget-object p2, Les/c80;->d:Ljava/lang/String;

    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_1

    .line 22
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto/16 :goto_0

    .line 23
    :cond_5
    :try_start_6
    iget-object v1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    .line 24
    invoke-virtual {v1, v2}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object v1

    .line 25
    invoke-virtual {p2, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    goto/16 :goto_1

    :cond_6
    const-string v1, "NOT_SUPPORTED_ENC_ALG_STRENGTH"

    .line 26
    invoke-virtual {p2, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 27
    iget-object v1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    const v2, 0x7f1106ba

    .line 28
    invoke-virtual {v1, v2}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object v1

    .line 29
    invoke-virtual {p2, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    goto/16 :goto_1

    :cond_7
    const-string v0, "not a WinZip AES"

    .line 30
    invoke-virtual {p2, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 31
    sget-object p2, Lcom/estrongs/io/archive/sevenzip/b;->b:Ljava/lang/String;

    invoke-static {v3, p2}, Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/Runnable;Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_8

    .line 32
    sget-object p2, Les/c80;->d:Ljava/lang/String;

    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_1

    .line 33
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto/16 :goto_0

    .line 34
    :cond_8
    :try_start_7
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {p2, v2}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object p2

    goto :goto_1

    :cond_9
    const-string v0, "rarEncryptedException"

    .line 35
    invoke-virtual {p2, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_c

    .line 36
    sget-object p2, Lcom/estrongs/io/archive/sevenzip/b;->b:Ljava/lang/String;

    invoke-static {v3, p2}, Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/Runnable;Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_b

    .line 37
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {p2, p1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->c(Lcom/estrongs/android/view/CompressGridViewWrapper;Ljava/lang/String;)Z

    move-result p2
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_1

    if-eqz p2, :cond_a

    .line 38
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto/16 :goto_0

    .line 39
    :cond_a
    :try_start_8
    sget-object p2, Les/c80;->d:Ljava/lang/String;

    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_1

    .line 40
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    goto/16 :goto_0

    .line 41
    :cond_b
    :try_start_9
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {p2, v2}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object p2

    goto :goto_1

    :cond_c
    const-string v0, "Permission denied"

    .line 42
    invoke-virtual {p2, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_d

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_d

    .line 43
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    const v0, 0x7f1107e2

    invoke-virtual {p2, v0}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object p2

    .line 44
    :cond_d
    :goto_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p2, ": "

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 45
    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {p2}, Lcom/estrongs/android/view/CompressGridViewWrapper;->e(Lcom/estrongs/android/view/CompressGridViewWrapper;)Landroid/os/Handler;

    move-result-object p2

    iget-object v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v0}, Lcom/estrongs/android/view/CompressGridViewWrapper;->e(Lcom/estrongs/android/view/CompressGridViewWrapper;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {v0, v1, p1}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object p1

    invoke-virtual {p2, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_9
    .catchall {:try_start_9 .. :try_end_9} :catchall_1

    .line 46
    iget-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance p2, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    :goto_2
    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void

    :catchall_1
    move-exception p1

    iget-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object p2, p2, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    new-instance v0, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/view/CompressGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$u;)V

    invoke-virtual {p2, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 47
    goto :goto_4

    :goto_3
    throw p1

    :goto_4
    goto :goto_3
.end method


# virtual methods
.method protected a()V
    .locals 1

    const/4 v0, 0x1

    .line 48
    iput-boolean v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a:Z

    return-void
.end method

.method public run()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->b:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v0, v0, Lcom/estrongs/android/view/CompressGridViewWrapper;->V0:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->n(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    .line 2
    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/view/CompressGridViewWrapper$u;->a(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
